:root {
            --primary-color: #2196F3;
            --success-color: #4CAF50;
            --error-color: #f44336;
            --warning-color: #FF9800;
            --bg-gradient: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        body {
            background: #f5f5f5;
            min-height: 100vh;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            background: var(--bg-gradient);
            color: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .balance-card {
            background: rgba(255,255,255,0.9);
            padding: 1.2rem;
            border-radius: 8px;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: transform 0.3s;
        }

        .balance-card:hover {
            transform: translateY(-2px);
        }

        .balance-icon {
            font-size: 2rem;
            color: var(--primary-color);
            animation: pulse 2s infinite;
        }

        .form-card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            color: #616161;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        input, textarea, select {
            width: 100%;
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
        }

        input:focus, textarea:focus, select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 8px rgba(33,150,243,0.2);
            outline: none;
        }

        .template-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.2rem;
            margin-top: 2rem;
        }

        .template-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1.2rem;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .template-card::before {
            content: "✨ 点击使用";
            position: absolute;
            top: -20px;
            right: -20px;
            background: var(--primary-color);
            color: white;
            padding: 8px 20px;
            transform: rotate(45deg);
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .template-card:hover::before {
            opacity: 1;
        }

        .submit-btn {
            background: var(--primary-color);
            color: white;
            padding: 16px 32px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
        }

        .submit-btn:hover {
            opacity: 0.9;
            box-shadow: 0 4px 12px rgba(33,150,243,0.3);
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        @keyframes wave {
            from { transform: translateX(-100%); }
            to { transform: translateX(100%); }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }
            .form-card {
                padding: 1.2rem;
            }
            .template-card::before {
                display: none;
            }
        }